all: TcpServer TcpClient 
TcpServer:TcpServer.cpp
	g++ -o $@ $^ -std=c++11 -lpthread
TcpClient:TcpClient.cpp
	g++ -o $@ $^ -std=c++11
.PHONY:clean
clean:
	rm -f TcpServer TcpClient